#!/usr/bin/env bash
dir=${1:-"test"}

for file in $(find ${dir} -name "*.java")
do
  xyz part_mode_token.xyz -PART ${file} = java.xyz >/dev/null
  if [ $? = 0 ]
  then
    echo ${file} PASS
  else
    echo ${file} FAIL
  fi
done
